package com.flower8.model;
import lombok.Data;
import java.util.Date;
/**
 * @Description  用户基本信息的实体类 
 * @Author tanglin
 * @Date 2019/11/27 16:24 
 * @Version  1.0
 */

@Data
public class User extends BaseEntity<Long>{

  //昵称
  private String username;
  //账户
  private String account;
  //手机号
  private String mobile;
  //登录密码
  private String password;
  //头像地址
  private String avatar;
  //性别(0:未知 1:男 2:女)
  private long gender;
  //年龄
  private long age;
  //身份证号码
  private String idCard;
  //身份证正面图片
  private String idCardOnpic;
  //身份证反面图片
  private String idCardOffpic;
  //身份证签证机关
  private String visaAuthority;
  //身份证有效期
  private String termValidity;
  //活体人脸图片
  private String faceImg;
  //百度人脸校验得分
  private double value;
  //人脸识别失败后本人手持身份证照片
  private String faceFailImg;
  //真实姓名
  private String partyName;
  //地址
  private String address;
  //系统分配的抢红包次数
  private long sysRedbagCount;
  //系统分配的大转盘次数
  private long sysWheelCount;
  //积分兑换大转盘次数，plus会员每天5次
  private long convertWheelCount;
  //众筹次数（普通的每个月3次，plus会员每个月5次）
  private long crowdfundCount;
  //用户总积分
  private long userPoint;
  //信用分
  private long creditPoint;
  //众筹服务费 0抵扣1不抵扣
  private long redbagDeduct;
  //红包总金额
  private double redbagTotal;
  //钱包余额
  private double wallet;
  //状态(0:正常 1:冻结)
  private long status;
  //是否为会员 0否 1是
  private long isPlus;
  //会员过期时间（非会员为空）
  private Date plusExpireTime;
  //贡献值（帮助别人金额-实际筹款总金额）
  private double contribution;
  //省
  private String province;
  //市
  private String city;
  //区/县
  private String area;
  //认证类型(0:人脸识别 1:身份证读取)
  private long autheType;

}
